package com.arpa.ntocc.basic.api.domain.entity;

import com.arpa.ntocc.common.domain.entity.BasicEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * APP发布信息
 * </p>
 *
 * @author LEO
 * @since 2020-03-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("base_app_info")
@ApiModel(value="AppInfo对象", description="APP发布信息")
public class AppInfo extends BasicEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "SHA1")
    @TableField("sha1")
    private String sha1;

    @ApiModelProperty(value = "大小 bytes")
    @TableField("size")
    private Long size;

    @ApiModelProperty(value = "类型：tmsDriver司机 tmsShipper货主")
    @TableField("type")
    private String type;

    @ApiModelProperty(value = "版本")
    @TableField("version")
    private String version;

    @ApiModelProperty(value = "更新内容")
    @TableField("content")
    private String content;

    @ApiModelProperty(value = "是否开启更新：0否 1是")
    @TableField("open_update")
    private Integer openUpdate;

    @ApiModelProperty(value = "是否强制更新：0否 1是")
    @TableField("force_update")
    private Integer forceUpdate;

    @ApiModelProperty(value = "二维码")
    @TableField("qr_code")
    private String qrCode;

    @ApiModelProperty(value = "下载连接")
    @TableField("link")
    private String link;


}
